package com.yunchang.springboot.mapper.basic;

import com.yunchang.springboot.models.DO.basic.BaseSkuInfoDTO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * SKU基础表 Mapper 接口
 * </p>
 *
 * @author ldw
 * @since 2020-06-23
 */
public interface IBaseSkuInfoMapper extends BaseMapper<BaseSkuInfoDTO> {
    /**
     * 根据msku、sellerID、area从base_sku_info表中查到数据
     * @param msku
     * @param sellerId
     * @param area
     * @return
     */
    Integer getIdByMskuAndSellerIdAndArea(@Param("msku")String msku, @Param("sellerId")String sellerId, @Param("area")String area);
}
